import request from '@/utils/request'

// 批量进货
export function batch(data) {
  return request({
    url: '/purorders/batch',
    method: 'post',
	data
  })
}

export function getAll(param) {
  return request({
    url: '/purorders',
    method: 'get'
  })
}


export function details(id) {
  return request({
    url: '/purorders/'+id,
    method: 'get'
  })
}
